// 图标配置 - 使用HTTPS网络图标
const { getIconUrl, getImageUrl, getAvatarUrl } = require('./imageUtils.js');

const icons = {
  // 底部导航图标
  chat: getIconUrl('chat.png'),
  chatActive: getIconUrl('chat-active.png'),
  
  assistant: getIconUrl('assistant.png'),
  assistantActive: getIconUrl('assistant-active.png'),
  
  aiImageGen: getIconUrl('ai-image-gen.png'),
  aiImageGenActive: getIconUrl('ai-image-gen-active.png'),
  
  profile: getIconUrl('profile.png'),
  profileActive: getIconUrl('profile-active.png'),
  
  // 功能图标
  send: getIconUrl('send.png'),
  copy: getIconUrl('copy.png'),
  jifen: getIconUrl('jifen.png'),
  three: getIconUrl('three.png'),
  weixin: getIconUrl('weixin.png'),
  
  // 头像和背景
  defaultAvatar: getIconUrl('touxiang.png'),
  imgBg: getIconUrl('img_bg.png'),
  aiPortrait: getIconUrl('AIPortrait.png')
};

// 获取图标URL的方法
function getIcon(iconName) {
  return icons[iconName] || '';
}

module.exports = {
  icons,
  getIcon
};
